package com.lkbaby;

import com.lkbaby.rule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableEurekaClient
/**
 * 负载均衡策略
 */
// {name = "CLOUD-PAYMENT-SERVICE", configuration = CustomLoadBalancerConfiguration.class}
@LoadBalancerClients(defaultConfiguration = { MyRule.class })
@SpringBootApplication
public class DeptConsumer_80 {

	public static void main(String[] args) {
		SpringApplication.run(DeptConsumer_80.class, args);
	}
}
